<template>
	<view>
		<nav-custom :name="title"></nav-custom>
		<view class="list" v-if="info">
			<view class="back dis_f_sb_c bor_bot">
				<view class="black_s_28">店铺头像</view>
				<view>
					<image class="tx_img" :src="info.avatar" mode=""></image>
				</view>
			</view>
			<view class="back bor_bot">
				<view class="dis_f_sb_c bor_b_bot">
					<view class="black_s_28">店铺名称</view>
					<view class="black_f_28 right">{{info.trade_name}}</view>
				</view>
				<view class="dis_f_sb_c bor_b_bot">
					<view class="black_s_28">联系电话</view>
					<view class="black_f_28 right">{{info.phone}}</view>
				</view>
				<view class="dis_f_sb_c bor_b_bot">
					<view class="black_s_28">入驻类型</view>
					<view class="black_f_28 right">{{info.join_type_id}}</view>
				</view>
				<view class="dis_f_sb_c">
					<view class="black_s_28">店铺地址</view>
					<view class="black_f_28 right slh_one">{{info.address}}</view>
				</view>
			</view>
			<view class="back bor_bot">
				<view class="black_s_28">营业执照</view>
				<view class="hui_back">
					<image class="z_img" :src="info.business_image" mode=""></image>
				</view>
			</view>
			<view class="back bor_bot">
				<view class="black_s_28">身份证</view>
				<view class="hui_back">
					<image class="z_img" :src="info.id_card_front_image" mode=""></image>
				</view>
				<view class="hui_back">
					<image class="z_img" :src="info.id_card_back_image" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: "店铺信息",
				info:[],
				url:''

			}
		},
		onShow() {
			this.url=this.$.ajax_url3
			this.get_info()
		},
		methods: {
			get_info(){
				this.$.ajax(1,'post','store/store/store_information',{},(res)=>{
					if(res.code == 200){
						this.info = res.data
					}else{
						this.$.ti_shi(res.msg)
					}
				});
			},
		}
	}
</script>

<style>
	.tx_img{
		width: 64rpx;
		height: 64rpx;
		border-radius: 100rpx;
	}
	.right{
		width: 500rpx;
		text-align: right;
	}
	.hui_back{
		width: 638rpx;
		height: 400rpx;
		background: #F7FAFF;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		margin-top: 24rpx;
	}
	.z_img{
		width: 526rpx;
		height: 336rpx;
		margin: 32rpx 56rpx;
	}
</style>